using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using au.Swindles;

namespace LoanApprovalClient
{
    public partial class QuoteDetails : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int customerID = 0;
            customerID = Utilities.getInt32(Request.QueryString["id"]);
            if (customerID > 0)
            {
                grdCustomerApps.DataSource = BLQuoteAdmin.BLQuoteAdmin.getCustomerApplications(customerID);
                grdCustomerApps.DataBind();
            }
        }

        protected override void OnInit(EventArgs e)
        {
            grdCustomerApps.ItemDataBound += new DataGridItemEventHandler(grdCustomerApps_ItemDataBound);
            base.OnInit(e);
        }

        void grdCustomerApps_ItemDataBound(object sender, DataGridItemEventArgs e)
        {
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {

            }
        }
    }
}
